package com.xszx.knowledge.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class StatisticDTO {
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    private Date date;
    private int totalViewCount;
    private int totalVoteCount;
    private int todayViewCount;
    private int todayVoteCount;

    public int getTotalViewCount() {
        return totalViewCount;
    }

    public void setTotalViewCount(int totalViewCount) {
        this.totalViewCount = totalViewCount;
    }

    public int getTotalVoteCount() {
        return totalVoteCount;
    }

    public void setTotalVoteCount(int totalVoteCount) {
        this.totalVoteCount = totalVoteCount;
    }

    public int getTodayViewCount() {
        return todayViewCount;
    }

    public void setTodayViewCount(int todayViewCount) {
        this.todayViewCount = todayViewCount;
    }

    public int getTodayVoteCount() {
        return todayVoteCount;
    }

    public void setTodayVoteCount(int todayVoteCount) {
        this.todayVoteCount = todayVoteCount;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
